package com.aurora.spider.gitee;

import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HrefBean;
import com.geccocrawler.gecco.spider.HtmlBean;

import java.util.List;

/**
 * Created by jackie on 18/1/15.
 */
public class HitProject implements HtmlBean {
    private static final long serialVersionUID = 3018760488621382659L;

    @Text
    @HtmlField(cssPath="div a")
    private String parentName;
    @Text
    @HtmlField(cssPath="div.desc")
    private  String desc;
    @Text
    @HtmlField(cssPath="div.attr > span:nth-child(5)")
    private  String updateDesc;

    @HtmlField(cssPath="div.header > div > a")
    private List<HrefBean> urls;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getUpdateDesc() {
        return updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc;
    }

    public List<HrefBean> getUrls() {
        return urls;
    }

    public void setUrls(List<HrefBean> urls) {
        this.urls = urls;
    }
}
